﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SharpSoft.Web
{
    /// <summary>
    /// 用户全局提供<see cref="IServiceProvider"/>对象
    /// </summary>
    public static class ServiceLocator
    {
        /// <summary>
        /// 服务提供程序，用于直接获取已注入的类
        /// </summary>
        public static IServiceProvider Instance { get; internal set; }
    }
}
